package com.cjst.util.toilet;

import java.util.HashMap;

import com.cjst.util.common.HttpClentPost;


public class Test {
	public static void main(String[] args) {
		//String url="http://lora.smartkit.io:8001/api/v1/user/login";
		String url="http://lora.smartkit.io:8001/api/v1/application";
		HashMap<String, Object> map=new HashMap<String, Object>();
		//map.put("username", "13332999209");
		//map.put("password", "123456");
		map.put("authorization", "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJsb3JhLWFwcC1zZXJ2ZXIiLCJleHAiOjE1NzkyNDg2OTYsImlzcyI6ImxvcmEtYXBwLXNlcnZlciIsIm5iZiI6MTU3OTE2MjI5Niwic3ViIjoidXNlciIsInVzZXJuYW1lIjoiMTMzMzI5OTkyMDkifQ.Tg9TfT_W9fwHnnbVvMJyfYkeCZBYg80xCvO2FQ7cw5s");
		System.out.println(HttpClentPost.postJson(url, map));
	}
}
